

#include "gpioDriver.h"


// Define masks to check the button

#define pin0 00000001
#define pin1 00000010
#define pin2 00000100
#define pin3 00001000
#define pin4 00010000
#define pin5 00100000
#define pin6 01000000
#define pin7 10000000



void setPortsDirection()
{
	DDRA = portADirection; // All Inputs
	DDRB = portBDirection; 
	DDRC = portCDirection; 
	DDRD = portDDirection; 
}


// Receive as parameter port to check
int checkButton();
